<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ShipCAD: ShipCAD::HydrostaticCalc Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ShipCAD
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceShipCAD.html">ShipCAD</a></li><li class="navelem"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html">HydrostaticCalc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="classShipCAD_1_1HydrostaticCalc-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ShipCAD::HydrostaticCalc Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Initialize and execute Hydrostatics Data calculation for a waterplane.  
 <a href="classShipCAD_1_1HydrostaticCalc.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="hydrostaticcalc_8h_source.html">hydrostaticcalc.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ShipCAD::HydrostaticCalc:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classShipCAD_1_1HydrostaticCalc.png" usemap="#ShipCAD::HydrostaticCalc_map" alt=""/>
  <map id="ShipCAD::HydrostaticCalc_map" name="ShipCAD::HydrostaticCalc_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a56877acf4c33b3cab96ce381217c7a3b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#a56877acf4c33b3cab96ce381217c7a3b">HydrostaticCalc</a> (<a class="el" href="classShipCAD_1_1ShipCADModel.html">ShipCADModel</a> *owner)</td></tr>
<tr class="separator:a56877acf4c33b3cab96ce381217c7a3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a382835ae6396b82371b605d662fd1696"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#a382835ae6396b82371b605d662fd1696">~HydrostaticCalc</a> ()</td></tr>
<tr class="separator:a382835ae6396b82371b605d662fd1696"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09403d93ebe095a41b6a29ba9b740b65"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#a09403d93ebe095a41b6a29ba9b740b65">clear</a> ()</td></tr>
<tr class="separator:a09403d93ebe095a41b6a29ba9b740b65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1dc0e446e711461bb3747326efd8df6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classShipCAD_1_1ShipCADModel.html">ShipCADModel</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#ac1dc0e446e711461bb3747326efd8df6">getOwner</a> () const </td></tr>
<tr class="separator:ac1dc0e446e711461bb3747326efd8df6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfc3e3da906e630cf6b763bd3559c630"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#abfc3e3da906e630cf6b763bd3559c630">getErrorString</a> () const </td></tr>
<tr class="memdesc:abfc3e3da906e630cf6b763bd3559c630"><td class="mdescLeft">&#160;</td><td class="mdescRight">get the errors with current calculation  <a href="#abfc3e3da906e630cf6b763bd3559c630">More...</a><br /></td></tr>
<tr class="separator:abfc3e3da906e630cf6b763bd3559c630"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a157563b0f0258d21a9be615e092d5b21"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classShipCAD_1_1Plane.html">Plane</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#a157563b0f0258d21a9be615e092d5b21">getWlPlane</a> () const </td></tr>
<tr class="memdesc:a157563b0f0258d21a9be615e092d5b21"><td class="mdescLeft">&#160;</td><td class="mdescRight">get the waterline plane (from draft, trim, and heeling angle)  <a href="#a157563b0f0258d21a9be615e092d5b21">More...</a><br /></td></tr>
<tr class="separator:a157563b0f0258d21a9be615e092d5b21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a875b9708e91db4a8f06ddbcc8a22d830"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#a875b9708e91db4a8f06ddbcc8a22d830">isCalculated</a> ()</td></tr>
<tr class="separator:a875b9708e91db4a8f06ddbcc8a22d830"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0deeafff07f3bb77184df959bbd91266"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#a0deeafff07f3bb77184df959bbd91266">setCalculated</a> (bool calc)</td></tr>
<tr class="separator:a0deeafff07f3bb77184df959bbd91266"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e1579cbcaddec517cfa95faa2228f2c"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#a3e1579cbcaddec517cfa95faa2228f2c">getDraft</a> () const </td></tr>
<tr class="separator:a3e1579cbcaddec517cfa95faa2228f2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6528fe532bbb1121c73972906d108835"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#a6528fe532bbb1121c73972906d108835">setDraft</a> (float draft)</td></tr>
<tr class="separator:a6528fe532bbb1121c73972906d108835"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabcae04d59358b87b9d5fb4ffda83f1a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structShipCAD_1_1HydrostaticsData.html">HydrostaticsData</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#aabcae04d59358b87b9d5fb4ffda83f1a">getData</a> ()</td></tr>
<tr class="separator:aabcae04d59358b87b9d5fb4ffda83f1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ae6f41fd9799cb17a855a9b4f89c5fb"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#a8ae6f41fd9799cb17a855a9b4f89c5fb">hasError</a> (<a class="el" href="namespaceShipCAD.html#a1d801b982c24bce0cf10ffd4b995dda0">hydrostatics_error_t</a> error) const </td></tr>
<tr class="memdesc:a8ae6f41fd9799cb17a855a9b4f89c5fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">does this calculation have this type of error  <a href="#a8ae6f41fd9799cb17a855a9b4f89c5fb">More...</a><br /></td></tr>
<tr class="separator:a8ae6f41fd9799cb17a855a9b4f89c5fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6415cb7c8e13ded4537292dd3a06688"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#ad6415cb7c8e13ded4537292dd3a06688">addError</a> (<a class="el" href="namespaceShipCAD.html#a1d801b982c24bce0cf10ffd4b995dda0">hydrostatics_error_t</a> error)</td></tr>
<tr class="memdesc:ad6415cb7c8e13ded4537292dd3a06688"><td class="mdescLeft">&#160;</td><td class="mdescRight">add this error type to the calculation  <a href="#ad6415cb7c8e13ded4537292dd3a06688">More...</a><br /></td></tr>
<tr class="separator:ad6415cb7c8e13ded4537292dd3a06688"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb8e8e29d28e2da0e75e30c0636f034b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#adb8e8e29d28e2da0e75e30c0636f034b">hasCalculation</a> (<a class="el" href="namespaceShipCAD.html#ac9ff7fc96a52fceafa83edc0d5d06fce">hydrostatics_calc_t</a> ty) const </td></tr>
<tr class="memdesc:adb8e8e29d28e2da0e75e30c0636f034b"><td class="mdescLeft">&#160;</td><td class="mdescRight">is this type of calculation set  <a href="#adb8e8e29d28e2da0e75e30c0636f034b">More...</a><br /></td></tr>
<tr class="separator:adb8e8e29d28e2da0e75e30c0636f034b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32379831790fd88d422c6783b1b70ef7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#a32379831790fd88d422c6783b1b70ef7">addCalculationType</a> (<a class="el" href="namespaceShipCAD.html#ac9ff7fc96a52fceafa83edc0d5d06fce">hydrostatics_calc_t</a> ty)</td></tr>
<tr class="memdesc:a32379831790fd88d422c6783b1b70ef7"><td class="mdescLeft">&#160;</td><td class="mdescRight">set a type of calculation  <a href="#a32379831790fd88d422c6783b1b70ef7">More...</a><br /></td></tr>
<tr class="separator:a32379831790fd88d422c6783b1b70ef7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b27fef68486f663fd325ef316032a03"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#a7b27fef68486f663fd325ef316032a03">getHeelingAngle</a> () const </td></tr>
<tr class="memdesc:a7b27fef68486f663fd325ef316032a03"><td class="mdescLeft">&#160;</td><td class="mdescRight">get the heeling angle for this calculation  <a href="#a7b27fef68486f663fd325ef316032a03">More...</a><br /></td></tr>
<tr class="separator:a7b27fef68486f663fd325ef316032a03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6bf118e2e5e89a8e8d7ea7675fdee22"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#ae6bf118e2e5e89a8e8d7ea7675fdee22">setHeelingAngle</a> (float angle)</td></tr>
<tr class="separator:ae6bf118e2e5e89a8e8d7ea7675fdee22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61df8d7421f2900cbc18a6565963c66e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#a61df8d7421f2900cbc18a6565963c66e">setHydrostaticType</a> (<a class="el" href="namespaceShipCAD.html#afea51c7ee52940acebde29bf44206fe2">hydrostatic_type_t</a> ty)</td></tr>
<tr class="separator:a61df8d7421f2900cbc18a6565963c66e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecd19708f7ebadb4321af93565ffc184"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#aecd19708f7ebadb4321af93565ffc184">getTrimAngle</a> () const </td></tr>
<tr class="memdesc:aecd19708f7ebadb4321af93565ffc184"><td class="mdescLeft">&#160;</td><td class="mdescRight">get the trim angle for this calculation  <a href="#aecd19708f7ebadb4321af93565ffc184">More...</a><br /></td></tr>
<tr class="separator:aecd19708f7ebadb4321af93565ffc184"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90ae18aaf3a9836d01594cda165f35bb"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#a90ae18aaf3a9836d01594cda165f35bb">getTrim</a> () const </td></tr>
<tr class="memdesc:a90ae18aaf3a9836d01594cda165f35bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">get the trim for this calculation (distance, not angle)  <a href="#a90ae18aaf3a9836d01594cda165f35bb">More...</a><br /></td></tr>
<tr class="separator:a90ae18aaf3a9836d01594cda165f35bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace579596fa77d8e3ea4f854ca033ed83"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#ace579596fa77d8e3ea4f854ca033ed83">setTrim</a> (float trim)</td></tr>
<tr class="memdesc:ace579596fa77d8e3ea4f854ca033ed83"><td class="mdescLeft">&#160;</td><td class="mdescRight">set the trim for this calculation (distance, not angle)  <a href="#ace579596fa77d8e3ea4f854ca033ed83">More...</a><br /></td></tr>
<tr class="separator:ace579596fa77d8e3ea4f854ca033ed83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a919bce0b984cbef1c59534d6e9fec46f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#a919bce0b984cbef1c59534d6e9fec46f">addData</a> (QStringList &amp;strings, <a class="el" href="namespaceShipCAD.html#a2c84d37615dd30be37ed0253501fb9a3">hydrostatics_mode_t</a> mode, QChar separator)</td></tr>
<tr class="memdesc:a919bce0b984cbef1c59534d6e9fec46f"><td class="mdescLeft">&#160;</td><td class="mdescRight">get all Hydrostatics data in a list of strings  <a href="#a919bce0b984cbef1c59534d6e9fec46f">More...</a><br /></td></tr>
<tr class="separator:a919bce0b984cbef1c59534d6e9fec46f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7573a510a6b53e56a79f4042e41ee89e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#a7573a510a6b53e56a79f4042e41ee89e">balance</a> (float displacement, bool freetotrim, <a class="el" href="structShipCAD_1_1CrosscurvesData.html">CrosscurvesData</a> &amp;output)</td></tr>
<tr class="separator:a7573a510a6b53e56a79f4042e41ee89e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0c8f5dc5c576e6e9eae5fb27fd5bdd0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#ab0c8f5dc5c576e6e9eae5fb27fd5bdd0">calculate</a> ()</td></tr>
<tr class="memdesc:ab0c8f5dc5c576e6e9eae5fb27fd5bdd0"><td class="mdescLeft">&#160;</td><td class="mdescRight">make all calculations specified  <a href="#ab0c8f5dc5c576e6e9eae5fb27fd5bdd0">More...</a><br /></td></tr>
<tr class="separator:ab0c8f5dc5c576e6e9eae5fb27fd5bdd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad37fd32bf358c96b6653c6c92fd92c20"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#ad37fd32bf358c96b6653c6c92fd92c20">calculateVolume</a> (const <a class="el" href="classShipCAD_1_1Plane.html">Plane</a> &amp;waterline_plane)</td></tr>
<tr class="memdesc:ad37fd32bf358c96b6653c6c92fd92c20"><td class="mdescLeft">&#160;</td><td class="mdescRight">calculate the volume of the ship below plane  <a href="#ad37fd32bf358c96b6653c6c92fd92c20">More...</a><br /></td></tr>
<tr class="separator:ad37fd32bf358c96b6653c6c92fd92c20"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a527c0f0526a159e3d7cb7ddd4925c295"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classShipCAD_1_1HydrostaticCalc.html">HydrostaticCalc</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#a527c0f0526a159e3d7cb7ddd4925c295">construct</a> (<a class="el" href="classShipCAD_1_1ShipCADModel.html">ShipCADModel</a> *owner)</td></tr>
<tr class="separator:a527c0f0526a159e3d7cb7ddd4925c295"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a95e0e1aa5d11f49cb0f0553ba45af085"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#a95e0e1aa5d11f49cb0f0553ba45af085">addHeader</a> (QStringList &amp;strings)</td></tr>
<tr class="separator:a95e0e1aa5d11f49cb0f0553ba45af085"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4077ad7205ef509d3a54edb8e04b8b7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html#aa4077ad7205ef509d3a54edb8e04b8b7">addFooter</a> (QStringList &amp;strings, <a class="el" href="namespaceShipCAD.html#a2c84d37615dd30be37ed0253501fb9a3">hydrostatics_mode_t</a> mode)</td></tr>
<tr class="separator:aa4077ad7205ef509d3a54edb8e04b8b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Initialize and execute Hydrostatics Data calculation for a waterplane. </p>

<p>Definition at line <a class="el" href="hydrostaticcalc_8h_source.html#l00106">106</a> of file <a class="el" href="hydrostaticcalc_8h_source.html">hydrostaticcalc.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a56877acf4c33b3cab96ce381217c7a3b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">HydrostaticCalc::HydrostaticCalc </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classShipCAD_1_1ShipCADModel.html">ShipCADModel</a> *&#160;</td>
          <td class="paramname"><em>owner</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="hydrostaticcalc_8cpp_source.html#l00073">73</a> of file <a class="el" href="hydrostaticcalc_8cpp_source.html">hydrostaticcalc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a382835ae6396b82371b605d662fd1696"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">HydrostaticCalc::~HydrostaticCalc </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="hydrostaticcalc_8cpp_source.html#l00081">81</a> of file <a class="el" href="hydrostaticcalc_8cpp_source.html">hydrostaticcalc.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a32379831790fd88d422c6783b1b70ef7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ShipCAD::HydrostaticCalc::addCalculationType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceShipCAD.html#ac9ff7fc96a52fceafa83edc0d5d06fce">hydrostatics_calc_t</a>&#160;</td>
          <td class="paramname"><em>ty</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>set a type of calculation </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ty</td><td>type of calculation to add to set </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="hydrostaticcalc_8h_source.html#l00156">156</a> of file <a class="el" href="hydrostaticcalc_8h_source.html">hydrostaticcalc.h</a>.</p>

</div>
</div>
<a class="anchor" id="a919bce0b984cbef1c59534d6e9fec46f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void HydrostaticCalc::addData </td>
          <td>(</td>
          <td class="paramtype">QStringList &amp;&#160;</td>
          <td class="paramname"><em>strings</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceShipCAD.html#a2c84d37615dd30be37ed0253501fb9a3">hydrostatics_mode_t</a>&#160;</td>
          <td class="paramname"><em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QChar&#160;</td>
          <td class="paramname"><em>separator</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>get all Hydrostatics data in a list of strings </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">strings</td><td>target string list for data </td></tr>
    <tr><td class="paramname">mode</td><td>how to display the data </td></tr>
    <tr><td class="paramname">separator</td><td>character to separate the data </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="hydrostaticcalc_8cpp_source.html#l00189">189</a> of file <a class="el" href="hydrostaticcalc_8cpp_source.html">hydrostaticcalc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad6415cb7c8e13ded4537292dd3a06688"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ShipCAD::HydrostaticCalc::addError </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceShipCAD.html#a1d801b982c24bce0cf10ffd4b995dda0">hydrostatics_error_t</a>&#160;</td>
          <td class="paramname"><em>error</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>add this error type to the calculation </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">error</td><td>the error to add </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="hydrostaticcalc_8h_source.html#l00145">145</a> of file <a class="el" href="hydrostaticcalc_8h_source.html">hydrostaticcalc.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa4077ad7205ef509d3a54edb8e04b8b7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void HydrostaticCalc::addFooter </td>
          <td>(</td>
          <td class="paramtype">QStringList &amp;&#160;</td>
          <td class="paramname"><em>strings</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceShipCAD.html#a2c84d37615dd30be37ed0253501fb9a3">hydrostatics_mode_t</a>&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="hydrostaticcalc_8cpp_source.html#l00391">391</a> of file <a class="el" href="hydrostaticcalc_8cpp_source.html">hydrostaticcalc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a95e0e1aa5d11f49cb0f0553ba45af085"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void HydrostaticCalc::addHeader </td>
          <td>(</td>
          <td class="paramtype">QStringList &amp;&#160;</td>
          <td class="paramname"><em>strings</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="hydrostaticcalc_8cpp_source.html#l00350">350</a> of file <a class="el" href="hydrostaticcalc_8cpp_source.html">hydrostaticcalc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7573a510a6b53e56a79f4042e41ee89e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool HydrostaticCalc::balance </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>displacement</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>freetotrim</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structShipCAD_1_1CrosscurvesData.html">CrosscurvesData</a> &amp;&#160;</td>
          <td class="paramname"><em>output</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="hydrostaticcalc_8cpp_source.html#l00579">579</a> of file <a class="el" href="hydrostaticcalc_8cpp_source.html">hydrostaticcalc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab0c8f5dc5c576e6e9eae5fb27fd5bdd0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void HydrostaticCalc::calculate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>make all calculations specified </p>
<p>For each type of calculation specified, this method will fill out _data with the results of that calculation The calculated flag will also be set </p>

<p>Definition at line <a class="el" href="hydrostaticcalc_8cpp_source.html#l00920">920</a> of file <a class="el" href="hydrostaticcalc_8cpp_source.html">hydrostaticcalc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad37fd32bf358c96b6653c6c92fd92c20"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void HydrostaticCalc::calculateVolume </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classShipCAD_1_1Plane.html">Plane</a> &amp;&#160;</td>
          <td class="paramname"><em>waterline_plane</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>calculate the volume of the ship below plane </p>
<p>When this method is completed, then _data will have absolute_draft, errors, leak point, center_of_buoyancy, lcb_perc, length_waterline, width_waterline, displacement, volume calculated The calculated flag will also be set</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">waterline_plane</td><td>the plane of the waterline </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="hydrostaticcalc_8cpp_source.html#l01058">1058</a> of file <a class="el" href="hydrostaticcalc_8cpp_source.html">hydrostaticcalc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a09403d93ebe095a41b6a29ba9b740b65"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void HydrostaticCalc::clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="hydrostaticcalc_8cpp_source.html#l00092">92</a> of file <a class="el" href="hydrostaticcalc_8cpp_source.html">hydrostaticcalc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a527c0f0526a159e3d7cb7ddd4925c295"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classShipCAD_1_1HydrostaticCalc.html">HydrostaticCalc</a> * HydrostaticCalc::construct </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classShipCAD_1_1ShipCADModel.html">ShipCADModel</a> *&#160;</td>
          <td class="paramname"><em>owner</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="hydrostaticcalc_8cpp_source.html#l00086">86</a> of file <a class="el" href="hydrostaticcalc_8cpp_source.html">hydrostaticcalc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aabcae04d59358b87b9d5fb4ffda83f1a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structShipCAD_1_1HydrostaticsData.html">HydrostaticsData</a>&amp; ShipCAD::HydrostaticCalc::getData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="hydrostaticcalc_8h_source.html#l00134">134</a> of file <a class="el" href="hydrostaticcalc_8h_source.html">hydrostaticcalc.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3e1579cbcaddec517cfa95faa2228f2c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float ShipCAD::HydrostaticCalc::getDraft </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="hydrostaticcalc_8h_source.html#l00132">132</a> of file <a class="el" href="hydrostaticcalc_8h_source.html">hydrostaticcalc.h</a>.</p>

</div>
</div>
<a class="anchor" id="abfc3e3da906e630cf6b763bd3559c630"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString HydrostaticCalc::getErrorString </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>get the errors with current calculation </p>
<dl class="section return"><dt>Returns</dt><dd>string with current errors </dd></dl>

<p>Definition at line <a class="el" href="hydrostaticcalc_8cpp_source.html#l00104">104</a> of file <a class="el" href="hydrostaticcalc_8cpp_source.html">hydrostaticcalc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7b27fef68486f663fd325ef316032a03"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float ShipCAD::HydrostaticCalc::getHeelingAngle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>get the heeling angle for this calculation </p>
<dl class="section return"><dt>Returns</dt><dd>the heeling angle in degrees </dd></dl>

<p>Definition at line <a class="el" href="hydrostaticcalc_8h_source.html#l00162">162</a> of file <a class="el" href="hydrostaticcalc_8h_source.html">hydrostaticcalc.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac1dc0e446e711461bb3747326efd8df6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classShipCAD_1_1ShipCADModel.html">ShipCADModel</a>* ShipCAD::HydrostaticCalc::getOwner </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="hydrostaticcalc_8h_source.html#l00118">118</a> of file <a class="el" href="hydrostaticcalc_8h_source.html">hydrostaticcalc.h</a>.</p>

</div>
</div>
<a class="anchor" id="a90ae18aaf3a9836d01594cda165f35bb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float ShipCAD::HydrostaticCalc::getTrim </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>get the trim for this calculation (distance, not angle) </p>
<dl class="section return"><dt>Returns</dt><dd>the trim </dd></dl>

<p>Definition at line <a class="el" href="hydrostaticcalc_8h_source.html#l00178">178</a> of file <a class="el" href="hydrostaticcalc_8h_source.html">hydrostaticcalc.h</a>.</p>

</div>
</div>
<a class="anchor" id="aecd19708f7ebadb4321af93565ffc184"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float HydrostaticCalc::getTrimAngle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>get the trim angle for this calculation </p>
<p>The trim angle is calculated from the given trim and waterline plane.</p>
<dl class="section return"><dt>Returns</dt><dd>the angle of trim in degrees </dd></dl>

<p>Definition at line <a class="el" href="hydrostaticcalc_8cpp_source.html#l00118">118</a> of file <a class="el" href="hydrostaticcalc_8cpp_source.html">hydrostaticcalc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a157563b0f0258d21a9be615e092d5b21"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classShipCAD_1_1Plane.html">Plane</a> HydrostaticCalc::getWlPlane </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>get the waterline plane (from draft, trim, and heeling angle) </p>
<dl class="section return"><dt>Returns</dt><dd>the waterline plane </dd></dl>

<p>Definition at line <a class="el" href="hydrostaticcalc_8cpp_source.html#l00125">125</a> of file <a class="el" href="hydrostaticcalc_8cpp_source.html">hydrostaticcalc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="adb8e8e29d28e2da0e75e30c0636f034b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool HydrostaticCalc::hasCalculation </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceShipCAD.html#ac9ff7fc96a52fceafa83edc0d5d06fce">hydrostatics_calc_t</a>&#160;</td>
          <td class="paramname"><em>ty</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>is this type of calculation set </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ty</td><td>type of calculation to check for </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if type is part of set </dd></dl>

<p>Definition at line <a class="el" href="hydrostaticcalc_8cpp_source.html#l00184">184</a> of file <a class="el" href="hydrostaticcalc_8cpp_source.html">hydrostaticcalc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8ae6f41fd9799cb17a855a9b4f89c5fb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool HydrostaticCalc::hasError </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceShipCAD.html#a1d801b982c24bce0cf10ffd4b995dda0">hydrostatics_error_t</a>&#160;</td>
          <td class="paramname"><em>error</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>does this calculation have this type of error </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">error</td><td>the error to check for </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if calculation has this error </dd></dl>

<p>Definition at line <a class="el" href="hydrostaticcalc_8cpp_source.html#l00179">179</a> of file <a class="el" href="hydrostaticcalc_8cpp_source.html">hydrostaticcalc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a875b9708e91db4a8f06ddbcc8a22d830"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool ShipCAD::HydrostaticCalc::isCalculated </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="hydrostaticcalc_8h_source.html#l00130">130</a> of file <a class="el" href="hydrostaticcalc_8h_source.html">hydrostaticcalc.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0deeafff07f3bb77184df959bbd91266"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void HydrostaticCalc::setCalculated </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>calc</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="hydrostaticcalc_8cpp_source.html#l00137">137</a> of file <a class="el" href="hydrostaticcalc_8cpp_source.html">hydrostaticcalc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a6528fe532bbb1121c73972906d108835"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void HydrostaticCalc::setDraft </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>draft</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="hydrostaticcalc_8cpp_source.html#l00147">147</a> of file <a class="el" href="hydrostaticcalc_8cpp_source.html">hydrostaticcalc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae6bf118e2e5e89a8e8d7ea7675fdee22"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void HydrostaticCalc::setHeelingAngle </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>angle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="hydrostaticcalc_8cpp_source.html#l00155">155</a> of file <a class="el" href="hydrostaticcalc_8cpp_source.html">hydrostaticcalc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a61df8d7421f2900cbc18a6565963c66e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void HydrostaticCalc::setHydrostaticType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceShipCAD.html#afea51c7ee52940acebde29bf44206fe2">hydrostatic_type_t</a>&#160;</td>
          <td class="paramname"><em>ty</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="hydrostaticcalc_8cpp_source.html#l00163">163</a> of file <a class="el" href="hydrostaticcalc_8cpp_source.html">hydrostaticcalc.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ace579596fa77d8e3ea4f854ca033ed83"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void HydrostaticCalc::setTrim </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>trim</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>set the trim for this calculation (distance, not angle) </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">trim</td><td>the trim of the hull </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="hydrostaticcalc_8cpp_source.html#l00171">171</a> of file <a class="el" href="hydrostaticcalc_8cpp_source.html">hydrostaticcalc.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>ShipCADlib/<a class="el" href="hydrostaticcalc_8h_source.html">hydrostaticcalc.h</a></li>
<li>ShipCADlib/<a class="el" href="hydrostaticcalc_8cpp_source.html">hydrostaticcalc.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Feb 25 2018 15:36:00 for ShipCAD by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
